package com.zoro.barn.business.service.sqldocument.business.document.entity;

import java.util.Date;

/**
 * @author zhaoxingwu
 */
public class BarnDocumentInfo {

    public static final String RELEASE_YES = "1";
    public static final String RELEASE_NO = "2";

    private String pid;
    private String documentTitle;
    private String fileId;
    private String plainTextId;
    private String createId;
    private Date createTime;
    private String productId;
    private String isRelease;
    private Date releaseTime;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getDocumentTitle() {
        return documentTitle;
    }

    public void setDocumentTitle(String documentTitle) {
        this.documentTitle = documentTitle;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getPlainTextId() {
        return plainTextId;
    }

    public void setPlainTextId(String plainTextId) {
        this.plainTextId = plainTextId;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getIsRelease() {
        return isRelease;
    }

    public void setIsRelease(String isRelease) {
        this.isRelease = isRelease;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    @Override
    public String toString() {
        return "BarnDocumentInfo{" +
                "pid='" + pid + '\'' +
                ", documentTitle='" + documentTitle + '\'' +
                ", fileId='" + fileId + '\'' +
                ", plainTextId='" + plainTextId + '\'' +
                ", createId='" + createId + '\'' +
                ", createTime=" + createTime +
                ", productId='" + productId + '\'' +
                ", isRelease='" + isRelease + '\'' +
                ", releaseTime=" + releaseTime +
                '}';
    }
}
